<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * @author weihu
 * 发送短信
 */
class Message extends CI_Controller {

	public function __construct()
    {
        parent::__construct();
    }
	
    //发送短信公共接口
    public function send()
    {
        $mobile = $this->input->get('mobile');
        $content = $this->input->get('content');
        $this->load->library('sms');
        $this->sms->sendMess(array($mobile), $content);
    }
}